package com.shangxia.monomer.business.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhouya38158
 * @Package com.shangxia.monomer.business.xml
 * @date 2021/8/20 10:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DemoXmlBean implements ISendEdbBean{

    @SendEDBXmlFILED(columnName ="DEMAND_ID",method = "getDemandId",sort = 1)
    private String demandId;

    @SendEDBXmlFILED(columnName ="TENANT_CODE",method = "getTenantCode",sort = 2)
    private String tenantCode;
    @SendEDBXmlFILED(columnName ="PROPOSAL_ID",method = "getProposalId",sort = 3)
    private String proposalId;

    private Integer robotId;
    @SendEDBXmlFILED(columnName ="CREATOR",method = "getCreator",sort = 4)
    private String creator;
    @SendEDBXmlFILED(columnName ="CREATEDT",method = "getCreatedt",sort = 5)
    private Date createdt;
    @SendEDBXmlFILED(columnName ="WEIGHT",method = "getWeight",sort = 6,pattern = "6",type = "NUMBER(10,6)")
    private BigDecimal weight;

}
